package com.ynny.chapter12.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class User {


    private Integer userId;
    private String username;
    private String password;

    //
//    private Integer empId;

    private Emp emp;

    List<Product> products;

}
